<%@ page contentType="text/html;charset=UTF-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
	<head>
	</head>
	<form id="saveForm" method="post" action="${pageContext.request.contextPath}/talarm/save.htm">
	<body>
			<%--
				<input type="hidden" name="id" id="id" value="${obj.id}"/>
				--%>
		<table class="table_all" align="center" border="0" cellpadding="0" cellspacing="0">
		    	<tr>
				<td>
					<span>：</span>
				</td>
				<td>
					<input name="id" id="id" value="${Talarm.id}" />
				</td>
			</tr>
		    	<tr>
				<td>
					<span>点位编号：</span>
				</td>
				<td>
					<input name="dwbh" id="dwbh" value="${Talarm.dwbh}" />
				</td>
			</tr>
		    	<tr>
				<td>
					<span>点位名称：</span>
				</td>
				<td>
					<input name="dwmc" id="dwmc" value="${Talarm.dwmc}" />
				</td>
			</tr>
		    	<tr>
				<td>
					<span>报警内容：</span>
				</td>
				<td>
					<input name="context" id="context" value="${Talarm.context}" />
				</td>
			</tr>
		    	<tr>
				<td>
					<span>报警时间：</span>
				</td>
				<td>
					<input name="alarm_time" id="alarm_time" value="<fmt:formatDate value="${Talarm.alarm_time}" pattern="yyyy-MM-dd HH:mm:ss"/>" />
				</td>
			</tr>
		    	<tr>
				<td>
					<span>状态：</span>
				</td>
				<td>
					<input name="zt" id="zt" value="${Talarm.zt}" />
				</td>
			</tr>
		    <tr>
		    	<td colspan="6">
		    		<a onclick="submit()" style="{cursor:hand;}">确认</a>
		    	</td>
		    </tr>
		</table>
	</body>
	</form>
	<script type="text/javascript">
		function submit(){
			$("#saveForm").submit();
			window.parent.layer.closeAll();
			window.parent.layer.msg("提交成功",'','');
		}
	</script>
</html>
